﻿using System;


namespace DataService
{
    public enum SyncFrequency
    {
        Daily,
        Weekly,
        Manual
    }

    public class DownloadUploadFinishedEventArgs : EventArgs
    {
        public DownloadUploadFinishedEventArgs()
        {
        }
    }

    public class DownloadUploadProgressEventArgs : EventArgs
    {
        private long progress, total;
        private bool isUpload;

        public DownloadUploadProgressEventArgs(bool isUpload, long progress, long total)
        {
            this.progress = progress;
            this.total = total;
            this.isUpload = isUpload;
        }

        public long Progress
        {
            get { return progress; }
        }

        public long Total
        {
            get { return total; }
        }

        public bool IsUpload
        {
            get { return isUpload; }
        }
    }
}
